package com.bykj.property.api.service;

import com.bykj.property.api.vo.PmProprietorVo;
import com.bykj.property.model.PmUnit;
import com.bykj.property.model.PmVillage;

import javax.validation.constraints.NotEmpty;
import java.util.List;

public interface WxAppUserInfoService {
    String getWxUserOpenid(@NotEmpty String code);

    String accountUserIsbind(@NotEmpty String openid);

    List<PmVillage> accountUserSelectOptionBuildings();

    List<PmUnit> accountUserSelectOptionUnits(@NotEmpty String pmVillageId);

    int accountUser(@NotEmpty String building, @NotEmpty String unit, @NotEmpty String room, @NotEmpty String username, @NotEmpty String role, @NotEmpty String phone, @NotEmpty String openid);

    PmProprietorVo accountgetUser(@NotEmpty String openid);
}
